Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use 666 rather than 644 for default permissions #5498

Merged
merged 1 commit into from
Jul 27, 2024
Merged

Conversation

charliermarsh
Copy link
Member

@charliermarsh charliermarsh commented Jul 26, 2024

Summary

I used 644 because that's the default when writing on my own machine. But -- that's because the default umask is 022. In reality, 666 is the correct default: https://github.com/rust-lang/rust/blob/7c2012d0ec3aae89fefc40e5d6b317a0949cda36/library/std/src/sys/pal/unix/fs.rs#L1069 (and then the umask is applied on top of it).

Closes #5496.

@charliermarsh charliermarsh added the bug Something isn't working label Jul 27, 2024
@charliermarsh charliermarsh enabled auto-merge (squash) July 27, 2024 00:02
@charliermarsh charliermarsh enabled auto-merge (squash) July 27, 2024 00:05
@charliermarsh charliermarsh merged commit 4f3dde3 into main Jul 27, 2024
55 checks passed
@charliermarsh charliermarsh deleted the charlie/tem branch July 27, 2024 00:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

shared uv cache: metadata.msgpack gets too restrictive perms for built-wheels
1 participant